<?php defined('TSTP_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Test_Types
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: range_real.tstp.php 249 2009-05-24 15:38:38Z molotsoft@gmail.com $
* @link $HeadURL: http://test-types.googlecode.com/svn/tags/latest/types/real/range_real.tstp.php $
*/


function tstp_range_real($var, $minval = NULL, $maxval = NULL) {
	return is_real($var) && in_range($minval, $var, $maxval);
}

function tstp_rreal($var, $minval = NULL, $maxval = NULL) { return tstp_range_real($var, $minval, $maxval); }
//function tstp_rr($var, $minval = NULL, $maxval = NULL) { return tstp_range_real($var, $minval, $maxval); }


?>